package com.gg.registration.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gg.registration.model.order.OrderInfo;
import com.gg.registration.vo.order.OrderCountQueryVo;
import com.gg.registration.vo.order.OrderCountVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author：  chenjunjia
 * Date：    2022/4/23 18:06
 * WeChat：  China_JoJo_
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderInfo> {

    /**
     * 图标查询订单数量
     * @param orderCountQueryVo 参数不多，医院编号、医院名称、开始日期、结束日期（日期区间）
     * @return
     */
    List<OrderCountVo> selectOrderCount(@Param("vo") OrderCountQueryVo orderCountQueryVo);
}
